<style type="text/css">

</style>
<div id="content" class="">
        <div class="row">
          <div class="col-md-12">
            <!-- Input Fields -->
            <div class="panel">
              <div class="panel-heading">
                <span class="panel-title">留言信息</span>
              </div>
              <div class="panel-body">
              <div class="panel">

              <!-- message toolbar header -->
              <div class="panel-menu" style='border-left:1px solid #e2e2e2; border-right:1px solid #e2e2e2;'>
                <div class="row">
                  <div class="hidden-xs hidden-sm col-md-3">
                    <div class="btn-group">
                      <button onclick="checkall('arcinput')" type="button" class="btn btn-default light" title="反选">
                        <i class="fa fa-check">反选</i></button>
                    </div>

                
                  </div>

                  <div class="col-xs-12 col-md-9 text-right">
                    <div class="btn-group mr10">
                     
                      <button onclick="allaction('{:U('Ajax/delMessage')}','arcinput','data-id')" type="button" class="btn btn-default light" title="删除">
                        <i class="fa fa-trash">删除</i>
                      </button>
                    </div>
                   
                    <div class="btn-group">
                      <a href= "" class="btn btn-default light" title="上一页"><i class="fa fa-chevron-left"></i></a>
                      <a href= "" class="btn btn-default light" title="下一页"><i class="fa fa-chevron-right"></i></a>
                    </div>
                  </div>
                </div>
              </div>

              <!-- message listings table -->
              <div class="panel-body pn">
                <table id="message-table" class="table admin-form theme-warning tc-checkbox-1">
                  <thead>
                    <tr class="">
                      <th class="text-center  hidden-xs"  width="1%">Select</th>
                      <th class="text-center  hidden-xs"  width="1%">ID</th>
                      <th class="text-center  hidden-xs"  width="5%">姓名</th>
                      <th class="text-center  hidden-xs"  width="5%">电话</th>
                      <th class="text-center  hidden-xs"  width="5%">邮箱</th>
                      <th class="text-center  hidden-xs"  width="30%">信息</th>
                      <th class="text-center  hidden-xs" width="5%">留言时间</th>
                    </tr>
                  </thead>
                  <tbody>
                    <?php
                     if($list){
                      foreach($list as $k => $v){   ?>
                        <tr class="message-unread">
                          <td class="hidden-xs hidden-xs">
                            <label class="option block mn">
                              <input class="arcinput" type="checkbox" name="mobileos" data-id="{$v['mid']}">
                              <span class="checkbox mn"></span>
                            </label>
                          </td>
                          <td class="text-center">{$v['mid']}</td>
                          <td class="text-center">{$v['name']}</td>
                          <td class="text-center hidden-xs">{$v['tel']}</td>
                          <td class="text-center">{$v['email']}</td>
                          <td class="text-center">{$v['content']}</td>
                          <td class="text-center">{:date('Y.m.d',$v['time'])}</td>
                        </tr>
                    <?php  }}?>
                  
                  </tbody>
                </table>
              </div>

            <div >
             <div class="pagination pull-left"></div>
              <ul class="pagination pull-right">
                {$page}
              </ul>
            </div>
            </div>
              </div>
            </div>
          </div>
        </div>
</div>